import './assets/base.css'
import './assets/other.css'

import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"

Vue.config.productionTip = false;

//配置常量
Vue.prototype.baseUrl = 'https://admin-bh.myyancheng.com.cn/youe/youeapi';    //打包
// Vue.prototype.baseUrl = 'http://192.168.2.147:9999/youe/youeapi'; //开发

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app");

router.beforeEach((to, from, next) => {
    if (to.meta.title) {
        document.title = to.meta.title
    }
    next()
});